package java_option.javafx;

import java_option.audio.AudioRecorder;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;

public class AudioController {

	AudioRecorder audioRecorder = new AudioRecorder();

	@FXML
	public void onStart(ActionEvent event) {
		System.out.println("onStart");

		audioRecorder.onStart();
	}

	@FXML
	public void onPause(ActionEvent event) {
		System.out.println("onPause");
		audioRecorder.onPause();
	}

	@FXML
	public void onResume(ActionEvent event) {
		System.out.println("onResume");
		audioRecorder.onResume();
	}

	@FXML
	public void onStop(ActionEvent event) {
		System.out.println("onStop");
		audioRecorder.onStop();
	}
}
